﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Dto
{
    public class InventoryLogDto
    {
        public int? SourceType { get; set; }
        /// <summary>
        /// 来源单号
        /// </summary>
        public string SourceSn { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; }

        /// <summary>
        /// 库区
        /// </summary>
        public string AreaName { get; set; }
        /// <summary>
        /// 仓位
        /// </summary>
        public string LocationCode { get; set; }
        /// <summary>
        /// 托盘号
        /// </summary>
        public string PalletBarcode { get; set; }

        /// <summary>
        /// 物料Id
        /// </summary>
        public long? MaterialId { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string MaterialCode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string BatchNo { get; set; }

        /// <summary>
        /// 原始数量
        /// </summary>
        public decimal? StartQty { get; set; }
        /// <summary>
        /// 变更数量
        /// </summary>
        public decimal? ChangeQty { get; set; }
        /// <summary>
        /// 最终数量
        /// </summary>
        public decimal? EndQty { get; set; }
        /// <summary>
        /// 基本单元Id
        /// </summary>
        public long? BaseUnitId { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string BaseUnitName { get; set; }

        /// <summary>
        /// 生成日期
        /// </summary>
        public string CreateDates { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}
